﻿using DeHeng_Mes.Model.PlcModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeHeng_Mes.Model.JsonModel
{
    public class RootObject
    {
        public List<string> AreaError { get; set; }
        public List<string> AreaWarn { get; set; }
        public int CarType { get; set; }
        public string EndTime { get; set; }
        public string Factory { get; set; }
        public string FilePath { get; set; }
        public string FtpPath { get; set; }
        public List<string> GapError { get; set; }
        public List<string> GapWarn { get; set; }
        public GlueInspectResult[] GlueInspectResult { get; set; }
        public List<string> GluePosition { get; set; }
        public string PartName { get; set; }
        public int PartNo { get; set; }
        public string PictureFolder { get; set; }
        public int PicturePass { get; set; }
        public int PictureTotal { get; set; }
        public List<string> PositionError { get; set; }
        public List<string> PositionWarn { get; set; }
        public int RobotNo { get; set; }
        public int SerialNumber { get; set; }
        public string StartTime { get; set; }
        public string Station { get; set; }
        public int StopLine { get; set; }
        public List<string> ThickError { get; set; }
        public List<string> ThickWarn { get; set; }
        public List<string> ThinError { get; set; }
        public List<string> ThinWarn { get; set; }
        public string Type { get; set; }
        public List<string> Unknown { get; set; }
        public string Result { get; set; }
        public string VinCode { get; set; }
    }

    public class GlueInspectResult
    {
        public int GlueId { get; set; }
        public string GlueWidth { get; set; }
        public string IsGap { get; set; }
        public string Position { get; set; }
    }

    public class GlueWidth
    {
        public double BeadWidth { get; set; }
        public string Frame { get; set; }
    }
}
